package jinyilw.tools.net.dev;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;

public final class NetworkPing extends NetworkPacket
{
	private static final long serialVersionUID = 8978606059231699856L;

	public static short ID = -25;

	public static final byte[] ping = new byte[0];

	private static final NetworkPing instance = new NetworkPing();

	public static NetworkPing getInstance()
	{
		return NetworkPing.instance;
	}

	private NetworkPing()
	{
	}

	@Override
	public short getID()
	{
		return NetworkPing.ID;
	}

	public static void setID(short id)
	{
		ID = id;
	}

	@Override
	public boolean isCompressed()
	{
		return false;
	}

	@Override
	public void read(DataInputStream input) throws IOException
	{
	}

	@Override
	public void write(DataOutputStream output) throws IOException
	{
	}

}
